﻿using System;
using System.Collections.Generic;
using GameFramework.Battle.Core;

namespace Gameplay.PVE.Survivor
{
    public abstract class SurvivorHavior : LeafTask
    {
        protected BattleUnit unit;
        public override void Ready()
        {
        }
        public override void End()
        {
        }
        public override void OnReset()
        {
        }
        
        public override void Parse(Dictionary<string, object> data){}

        public override void SharedVariableChanged(string key, object value)
        {
            unit = value as BattleUnit;
        }
    }
}
